import request from '@/util/request'

export function getWeChatMenu(data) {
  return request({
    url: '/iot/wechat/gzh/menu/get',
    method: 'post',
    data
  })
}

export function insertWeChatMenu(data) {
  return request({
    url: '/iot/wechat/gzh/menu/insert',
    method: 'post',
    data
  })
}

export function deleteWeChatMenu(data) {
  return request({
    url: '/iot/wechat/gzh/menu/delete',
    method: 'post',
    data
  })
}

export function getWeChatSelfMenu(data) {
  return request({
    url: '/iot/wechat/gzh/menu/self/get',
    method: 'post',
    data
  })
}

export function insertWeChatSelfMenu(data) {
  return request({
    url: '/iot/wechat/gzh/menu/self/insert',
    method: 'post',
    data
  })
}

export function deleteWeChatSelfMenu(data) {
  return request({
    url: '/iot/wechat/gzh/menu/self/delete',
    method: 'post',
    data
  })
}

